import Vue from 'vue';
import Vuex from 'vuex'
import createLogger from 'vuex/dist/logger';
import actions from './actions'
import mutations from './mutations'
import getters from './getters'

const debug = process.env.NODE_ENV !== 'production';
Vue.use(Vuex);

var state={
	loadingCount:0,
	batchItem:{}
}

export default new Vuex.Store({
  actions,
  mutations,
  getters,
  state,
  modules: {
   
  },
  strict: debug,
  plugins: debug ? [createLogger()] : []
});
